﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Quail
{
    //class used to serialize IPerformanceTest configuration properties
    public class PerformanceTest : IPerformanceTest
    {
        #region IPerformanceTest
        public int? NumberOfTests { get; set; }
        public bool ShouldSerializeNumberOfTests() { return NumberOfTests.HasValue; }
        
        public int? NumberOfThreads { get; set; }
        public bool ShouldSerializeNumberOfThreads() { return NumberOfThreads.HasValue; }
        #endregion



        //public PerformanceTest()
        //{
        //    NumberOfTests = 300;
        //    NumberOfThreads = 3;
        //}
    }
}